package com.itheima.service.db;

import com.itheima.domain.db.Freeze;

public interface FreezeService {

    //查询冻结用户信息
    Freeze findByFreeze(Long userId);

    //冻结用户
    void freezeByUser(Freeze freeze);

    //解冻用户
    void unFreezeByUser(Long userId, String reasonsForThawing);


    //自动解冻用户
    void unFreezeByUserAuto(Long userId);

}
